#include "Customer.h"
#include <iostream>

using namespace std;

Customer::Customer(void) {

}

Customer::~Customer(void) {

}

void Customer::setNext(Customer* newNext) {
	next = newNext; // sets the next noide for customer
}

Customer* Customer::getNext() {
	return next; // gets the next customer
}

void Customer::setFirstName(std::string newFirstName) {
	firstName = newFirstName; // sets the customer's first name
}

string Customer::getFirstName() {
	return firstName; // returns customer's first name
}

void Customer::setLastName(std::string newLastName) {
	lastName = newLastName;  // sets the customer's last name
}

string Customer::getLastName() {
	return lastName; // returns the customer's last name
}

void Customer::setPhoneNumber(std::string newPhoneNumber) {
	phoneNumber = newPhoneNumber; // sets the customer's phone number
}

string Customer::getPhoneNumber() {
	return phoneNumber; // returns the customer's phone number
}

void Customer::setPassword(std::string newPassword) {
	password = newPassword; // gets the password
}

string Customer::getPassword() {
	return password; // returns the password
}

string Customer::getUsername() {
	// combines the first name and last name to form the username
	string username = "";
	username += firstName;
	username += lastName;
	return username;
}

